package com.netease.musicweekly.entity;

import java.util.ArrayList;
import java.util.List;

public class Category {

	public String name;

	public String id;

	public int total;

	public List<Article> articles;

	public Category copy() {
		Category copy = new Category();
		copy.name = this.name;
		copy.id = this.id;
		copy.total = this.total;
		copy.articles = new ArrayList<Article>();
		copy.articles.addAll(this.articles);
		return copy;
	}
}
